package com.guigu.www.denghao.service;

import com.guigu.www.pojo.PageVo;
import com.guigu.www.pojo.Rubric;
import com.guigu.www.pojo.RubricOption;

import java.util.List;

public interface DHRubricService {

    PageVo<Rubric> initRub(Integer pageNum, Integer pageSize, String rubName, String rubType);

    Integer addRub(Rubric rubric);

    List<RubricOption> watchRub(Integer rubId);

    Integer delRub(Integer rubId, Integer rubState);

    Rubric queryByIdRubric(Integer rubId);

    Integer upRub(Rubric rubric);
}
